#-*-coding:utf-8-*-
import hou
class HipFileOptions(object):
    def __init__(self):
        super(HipFileOptions,self).__init__()


    def setUnitLength(self,value):
        hou.setPreference('hipoptions.unitlength.val',str(value))
        # print('setUnitLength')

    def getUnitLength(self):
        return hou.getPreference('hipoptions.unitlength.val')
        # print('getUnitLength')


    def setUnitMass(self,value):
        hou.setPreference('hipoptions.unitmass.val',str(value))
        # print('setUnitMass')

    def getUnitMass(self):
        return hou.getPreference('hipoptions.unitmass.val')
        # print('getUnitMass')